var fs = require('fs'),
    path = require('path');

let errorJSON = [];
const errorget = async (content) => {
    let data = fs.readFileSync(path.join(__dirname, '..', '/json/error.json'), 'utf-8');
    errorJSON = JSON.parse(data);
    return errorJSON
}

module.exports = errorget;